Skip to content

Commit 0c48609

Browse files
author
Beernaert Robbe
committed
it is working but now the test itself is not working!
1 parent bb06cd1 commit 0c48609

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

modules/vstudio/tests/cs2005/test_netcore.lua

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,20 @@ function suite.allowUnsafeProperty_core()
132132
</PropertyGroup>
133133
]]
134134
end
135+
136+
function suite.project_element_configurations()
137+
p.action.set("vs2022")
138+
dotnetframework "net8.0"
139+
prepareProjectProperties()
140+
141+
configurations { "Debug","Release","Distribution"}
142+
test.capture [[
143+
<PropertyGroup>
144+
<OutputType>Exe</OutputType>
145+
<AppDesignerFolder>Properties</AppDesignerFolder>
146+
<TargetFramework>net8.0</TargetFramework>
147+
<Configurations>Debug;Release</Configurations>
148+
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
149+
</PropertyGroup>
150+
]]
151+
end

modules/vstudio/vs2005_csproj.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
dotnetbase.bindingRedirects,
5353
dotnetbase.netcore.useWpf,
5454
dotnetbase.csversion,
55+
dotnetbase.projectConfigurations,
5556
dotnetbase.netcore.enableDefaultCompileItems,
5657
}
5758
else

0 commit comments

Comments
 (0)