Brad King
1150fae89a
CMP0053: Remove support for OLD behavior
2025-01-20 09:46:55 -05:00
Calum Robinson
55a5094f0e
VS: Fix missing <Configurations> property for DOTNET_SDK
...
Fixes #26325
2024-09-25 16:20:12 +01:00
Calum Robinson
fd66818653
VS: Fix custom commands for DOTNET_SDK builds
...
Fixes : #23723
2024-09-18 18:26:27 +01:00
Brad King
d68ca050ef
Merge topic 'vs-always-restore-net-sdk'
...
3283ef47d1 VS: Fix DOTNET_SDK builds when no VS_PACKAGE_REFERENCES set
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9807
2024-09-18 09:40:03 -04:00
Calum Robinson
3283ef47d1
VS: Fix DOTNET_SDK builds when no VS_PACKAGE_REFERENCES set
...
nuget restore always needs to be run for the new DOTNET_SDK style
projects, even when VS_PACKAGE_REFERENCES is empty.
Fixes : #23405
2024-09-16 13:32:19 +01:00
Calum Robinson
66bd326e28
VS: Use OUTPUT_NAME in DOTNET_SDK projects
...
Fixes : #26285
2024-09-11 12:25:08 +01:00
Calum Robinson
c7e5ebd0a8
VS: Support add_custom_command in .Net SDK-style projects
...
Fixes : #26048
2024-06-25 13:31:44 +01:00
Brad King
1edf138506
Tests/RunCMake: Update cmake_minimum_required versions
...
For policy-specific tests, use the version before the policy was
introduced. Otherwise, use 3.5 where possible.
Also, remove `cmake_minimum_required()` and `project()` calls from
individual cases where they are handled by `CMakeLists.txt`.
2023-02-11 06:24:22 -05:00
Quentin Berthet
c445dd2797
VS: Add Xaml and Resx files to .Net SDK style projects
...
Improve parity with classic MSBuild projects.
Fixes : #23415
2022-12-06 15:42:23 +01:00
Anthony Roberts
9a0ca7df67
Tests: Fix RunCMake.VsDotnetSdk with VS >= 17.3 on ARM64
...
VS 17.3 provides an arm64-native version of the tool, but the test was
looking for the x64 version.
2022-10-28 11:19:25 -04:00
Maxime Raynaud
ba6cecea8e
VS: Add compile properties to .NET Sdk projects
2022-06-15 10:59:16 -04:00
Florian Schweiger
d89af11f89
VS: Add StartupObject property for managed .NET projects
2022-04-12 15:35:17 +02:00
Sumit Bhardwaj
5ee3154f65
VS: .Net SDK Style projects can add Reference to dlls
...
When support for `DOTNET_SDK` was added, only a minimal set of options
were built in. Based on user feedback, support for reference to dlls
(not just projects) is needed. That support is added here.
Fixes : #23166
2022-02-01 07:18:03 -08:00
Sumit Bhardwaj
0eea32a376
VS: Add DOTNET_SDK property to generate SDK-style C# projects
...
Changes in cmVisualStudio10TargetGenerator::Generate to write .Net
SDK-style project for VS generators VS 19 and above. Also adds
documentation and tests.
Issue: #20227
2021-12-21 09:35:49 -08:00