Skip to content

Commit f704304

Browse files
committed
fix snippets 5000 error
1 parent c4bfbf7 commit f704304

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1"/></startup></configuration>

snippets/csharp/VS_Snippets_CFX/s_ueservicecredentials/cs/cs.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current">
1+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
22
<PropertyGroup>
33
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
44
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -14,6 +14,8 @@
1414
<UpgradeBackupLocation>
1515
</UpgradeBackupLocation>
1616
<OldToolsVersion>2.0</OldToolsVersion>
17+
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
18+
<TargetFrameworkProfile />
1719
</PropertyGroup>
1820
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1921
<DebugSymbols>true</DebugSymbols>
@@ -23,6 +25,7 @@
2325
<DefineConstants>DEBUG;TRACE</DefineConstants>
2426
<ErrorReport>prompt</ErrorReport>
2527
<WarningLevel>4</WarningLevel>
28+
<Prefer32Bit>false</Prefer32Bit>
2629
</PropertyGroup>
2730
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2831
<DebugType>pdbonly</DebugType>
@@ -31,6 +34,7 @@
3134
<DefineConstants>TRACE</DefineConstants>
3235
<ErrorReport>prompt</ErrorReport>
3336
<WarningLevel>4</WarningLevel>
37+
<Prefer32Bit>false</Prefer32Bit>
3438
</PropertyGroup>
3539
<ItemGroup>
3640
<Reference Include="System" />
@@ -51,6 +55,9 @@
5155
<Compile Include="Properties\AssemblyInfo.cs" />
5256
<Compile Include="service.cs" />
5357
</ItemGroup>
58+
<ItemGroup>
59+
<None Include="app.config" />
60+
</ItemGroup>
5461
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
5562
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
5663
Other similar extension points exist, see Microsoft.Common.targets.

0 commit comments

Comments
 (0)