File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
vsintegration/src/FSharp.ProjectSystem.FSharp Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 99 <DisableImplicitFSharpCoreReference >true</DisableImplicitFSharpCoreReference >
1010 <OtherFlags >$(OtherFlags) --subsystemversion:6.00</OtherFlags >
1111 <EnableDefaultEmbeddedResourceItems >false</EnableDefaultEmbeddedResourceItems >
12+ <!-- Enable preserialized resources by default (required by newer SDKs for non-string resources). -->
13+ <GenerateResourceUsePreserializedResources >true</GenerateResourceUsePreserializedResources >
14+ </PropertyGroup >
15+
16+ <!-- When building with desktop MSBuild (Full), fall back to legacy resources so the CTO merger (VSSDK) can read .resources files. -->
17+ <PropertyGroup Condition =" '$(MSBuildRuntimeType)' != 'Core'" >
18+ <GenerateResourceUsePreserializedResources >false</GenerateResourceUsePreserializedResources >
1219 </PropertyGroup >
1320
1421 <ItemGroup >
2835 <EmbeddedResource Include =" VSPackage.resx" >
2936 <GenerateSource >true</GenerateSource >
3037 <GeneratedModuleName >Microsoft.VisualStudio.FSharp.ProjectSystem.FSharpSR</GeneratedModuleName >
31- <MergeWithCTO >true</MergeWithCTO >
38+ <!-- Only merge with CTO when building with desktop MSBuild (typical for VS/VSSDK builds). Skip for dotnet (MSBuild Core). -->
39+ <MergeWithCTO Condition =" '$(MSBuildRuntimeType)' != 'Core'" >true</MergeWithCTO >
3240 <ManifestResourceName >VSPackage</ManifestResourceName >
3341 <SubType >Designer</SubType >
3442 <IntermediateTargetPath >$(IntermediateOutputPath)resources\</IntermediateTargetPath >
You can’t perform that action at this time.
0 commit comments