Javier Calvarro Nelson
79c270e9c0
[StaticWebAssets] Fix subpath issue on SWA dev manifest ( #42227 )
...
Fixes an issue where the subpath was being computed incorrectly for assets that will be copied out to the wwwroot folder during the build.
The fix is to check if the file exists to only use the suffix from the identity if the file exists on disk and the content root is a prefix of the file Identity.
In any other case we expect the file to be at the contentroot + relative path location.
2024-07-18 08:57:07 +00:00
Chet Husk
a4f5e274bf
Make dotnet help understand subcommands ( #42161 )
2024-07-16 15:39:46 -05:00
Chet Husk
f73da10f41
fix test baseline and handle scenario when no command args are passed
2024-07-16 13:42:27 -05:00
v-wuzhai
6c669e869e
Attempt to fix Publish60Hosted_Works test ( #42061 )
2024-07-16 14:05:20 +08:00
Manodasan Wignarajah
b2cadd724b
Add support for targeting Windows version 26100 and update Windows SDK projection versions ( #42090 )
2024-07-15 13:03:58 -07:00
Marc Paine
ea42a92498
[automated] Merge branch 'release/8.0.4xx' => 'main' ( #41885 )
2024-07-15 02:55:59 -07:00
Jason Zhai
c731097669
Modify Publish60Hosted_Works test to run only on Windows
2024-07-15 00:04:29 -07:00
Michael Yanni
a2689ba4aa
Fix TestPackage paths ( #42136 )
2024-07-12 15:36:41 -07:00
Marc Paine
22ea878bf0
Fix test for Multi-Target workloads ( #42062 )
2024-07-12 14:12:24 -07:00
Michael Yanni
850659b554
Made it so that all test packages are not assumed to be from test/TestAssets/TestPackages/.
2024-07-12 13:24:43 -07:00
Michael Yanni
68681c1e9d
Moved src/Assets to test/TestAssets ( #41924 )
2024-07-12 11:05:03 -07:00
Jan Jones
25cdd7a5b2
Use PackageDownload in torn builds ( #41951 )
2024-07-12 08:59:26 +02:00
Jason Zhai
3b214333cc
Conditionally check the OS and modify the expected workloads on Linux
2024-07-11 19:54:23 -07:00
Jason Zhai
b540505470
Make changes to the code following comments
2024-07-11 02:36:00 -07:00
Michael Yanni
fa20a7ca18
Update test/xunit-runner/XUnitRunner.targets
...
Co-authored-by: Marc Paine <marcpop@microsoft.com>
2024-07-10 13:51:49 -07:00
Michael Yanni
d1fffdabea
Added BuildTestPackages property to control building test packages, so they aren't double built when referenced via UnitTests.proj.
2024-07-10 13:38:53 -07:00
Lakshan Fernando
49033c7f04
WinForms trim value default tests ( #42034 )
2024-07-10 01:59:29 -07:00
Jason Zhai
e8005eb395
Fix test for Multi-Target Workloads
2024-07-10 00:27:20 -07:00
Eric Erhardt
f7472c89bd
Adding SignalR CustomAwaitable feature switch ( #41832 )
...
This is the SDK portion of changes needed to make SignalR compatible with native AOT. See https://github.com/dotnet/aspnetcore/pull/56460 .
2024-07-09 17:39:26 -05:00
Jason Zhai
a58e7736fe
Attempt to fix Publish60Hosted_Works test
2024-07-09 01:20:22 -07:00
Amaury Levé
cf1cc5e341
Merge branch 'main' into post-process-modify-json
2024-07-09 09:48:35 +02:00
Javier Calvarro Nelson
0e34227ae8
[Static Web Assets] Fix duplicate endpoints when resolving referenced asset endpoints ( #41995 )
...
* Correct the item group being used and update the baselines.
2024-07-08 18:09:29 +00:00
dotnet-maestro[bot]
70479edb89
[main] Update dependencies from dotnet/runtime ( #41988 )
...
[main] Update dependencies from dotnet/runtime
- Make sure we pass properties as individual arguments to msbuild
- Merge branch 'main' into darc-main-261c903f-8620-4b37-a41b-d596da608082
- Stop using obsolete X509Certificate2 ctor
- Fix passing correct config to publishCommand.GetOutputDirectory()
- Fix another missed configuration setting
- Revert X509CertificateLoader.LoadCertificate change in RegistryTests.cs
- Use LoadPkcs12 instead, X509ContentType.Pfx is equivalent to Pkcs12
- Fix Signature
2024-07-08 13:15:04 +00:00
YuliiaKovalova
e7aa57d88e
Merge branch 'main' into post-process-modify-json
2024-07-08 10:27:18 +02:00
Michal Strehovský
dc5dc7dd50
Add feature switch for StackTraceSupport ( #41873 )
2024-07-04 14:45:05 +00:00
Amaury Levé
ad027efc80
JsonPropertyPostAction: allow to create file and path
2024-07-03 17:36:52 +02:00
Jason Zhai
777c82bc3b
Merge branch 'release/8.0.4xx'
2024-07-02 00:44:57 -07:00
Michael Yanni
5d6326a85e
Merge branch 'main' into UnskipTestsWithDoneIssues
2024-07-01 15:58:55 -07:00
Michael Yanni
09d9fc06b6
Removed the ItShouldShowWarningMessageOnCollectCodeCoverageThatProfilerWasNotInitialized test since it was removed but a bad branch merge reintroduced it. Set DependentUponTest as WindowsOnlyTheory since it literally runs the EXE it produces during the test.
2024-07-01 15:53:33 -07:00
Michael Yanni
8305b9d17b
Reenable passed tests with skip attribute set as string ( #41753 )
2024-07-01 14:27:22 -07:00
Jérôme Laban
0097979fe3
feat: Add support for updatedTypes in metadata updates ( #40416 )
...
Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com>
2024-06-28 13:56:52 -07:00
Tomáš Matoušek
a8ef7c25dc
Add xunit configuration to increase test logging ( #41829 )
2024-06-28 08:38:30 -07:00
Rainer Sigwald
bc21e7913d
Minimize container dependency redistribution ( #41740 )
...
Co-authored-by: kasperk81 <83082615+kasperk81@users.noreply.github.com>
2024-06-27 19:11:35 -05:00
Caio Granero
4a4823d8b9
Avoid reinstall tool already installed ( #41746 )
...
Fixes #40818
Context
Following the changes introduced in #37311 , the dotnet tool install --global command began reinstalling tools that were already installed, which involved deleting and then adding the same tool version again. Before this release, it was not possible to install a version that was already installed.
This behavior change was reported in #40818 . I propose a modification to avoid reinstalling tools that are already installed.
Change
The current installation flow involves uninstalling all matching tools and then installing them again. My change modifies this flow by first checking if the requested best match package version is already installed. If it is, the flow is stopped, and a message is printed: 'Tool '{0}' is already installed'.
2024-06-27 13:19:45 -07:00
kasperk81
7969bf8f0b
rename SDK_CONTAINER_* to DOTNET_CONTAINER ( #41769 )
...
Co-authored-by: Chet Husk <baronfel@users.noreply.github.com>
2024-06-26 12:32:22 -05:00
Jason Zhai
da249a957a
Merge branch 'main' of https://github.com/dotnet/sdk into dev/Jason/reenable-passed-tests
2024-06-25 23:55:30 -07:00
Marc Paine
87d3471a06
[automated] Merge branch 'release/8.0.4xx' => 'main' ( #41698 )
2024-06-25 13:41:17 -07:00
Jason Zhai
43f0fe6291
Fix typo
2024-06-24 22:51:35 -07:00
Jason Zhai
0fabc7dcd9
Revert test When_not_referenced_by_csharp_project_it_fails_to_publish
2024-06-24 22:50:10 -07:00
Jason Zhai
cddbf8250c
Revert the failed test
2024-06-24 03:53:12 -07:00
Jason Zhai
a050d731f5
Reenable passed tests with skip attribute set as string
2024-06-24 00:58:22 -07:00
Michael Yanni
3f1e67e88d
Reskipping many tests as most of the failures still exist. Some tests skipped with new issue numbers.
2024-06-21 15:47:00 -07:00
Jason Zhai
bae40bb4e3
Merge branch 'release/8.0.4xx'
2024-06-21 02:19:12 -07:00
Marc Paine
88f8ea2d6b
Add test for net standard 2 and 2.1
...
Change the logic to use the LessThan intrinsic
2024-06-20 14:34:29 -07:00
Viktor Hofer
a92838aaec
Update test/Microsoft.NET.Build.Tests/GivenThatWeWantToTargetNotRecommendedFrameworks.cs
...
Co-authored-by: kasperk81 <83082615+kasperk81@users.noreply.github.com>
2024-06-20 21:47:48 +02:00
Viktor Hofer
617f4f80eb
Merge branch 'main' into marcpopMSFT-standardwarning
2024-06-20 21:37:33 +02:00
Javier Calvarro Nelson
19ceeb7d5f
[Static Web Assets] Fix issue with externally defined static assets and compression clashes ( #41681 )
2024-06-20 18:50:08 +02:00
Michael Yanni
880e096f77
Removed Skip on tests that linked to issues that were marked Done. Noticed the pathing issue for dotnet-format, fixed it, and reenabled the CI job.
2024-06-19 13:21:35 -07:00
Tom Deseyn
00becb507d
Containers: insecure registries: allow https (ignore cert errors), and accept config from envvar. ( #41506 )
2024-06-19 09:19:41 -05:00
Viktor Hofer
fda398e8bc
Add testFullMSBuild env var to the test step ( #41656 )
2024-06-19 10:35:52 +00:00