forked from microsoft/typespec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMicrosoft.Cadl.VS.props
32 lines (32 loc) · 1.66 KB
/
Microsoft.Cadl.VS.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<Project>
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<DebugType>Embedded</DebugType>
<EmbedAllSources>true</EmbedAllSources>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<LangVersion>Latest</LangVersion>
<Nullable>Enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningLevel>5</WarningLevel>
<Features>strict</Features>
<!-- Official build will pass in the real version from package.json, see scripts/build.js -->
<Version>42.42.42</Version>
<!-- Deployment enabled dynamically in targets if building in visual studio -->
<DeployExtension>false</DeployExtension>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<TargetVsixContainer>$(MSBuildThisFileDirectory)$(AssemblyName).vsix</TargetVsixContainer>
</PropertyGroup>
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
<Content Include="$(IntermediateOutputPath)DebugSourceDirectory.txt" Link="DebugSourceDirectory.txt" Visible="False" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)src/**/*.cs" LinkBase="src" />
<Content Include="$(MSBuildThisFileDirectory)LICENSE" />
<Content Include="$(MSBuildThisFileDirectory)*.pkgdef" />
<Content Include="$(MSBuildThisFileDirectory)node_modules/cadl-vscode/dist/cadl.tmLanguage" Link="TextMate/cadl.tmLanguage" />
<Content Update="@(Content)" IncludeInVSIX="true" CopyToOutputDirectory="PreserveNewest" />
<Reference Include="System.ComponentModel.Composition" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" />
</ItemGroup>
</Project>