-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
19 lines (15 loc) · 938 Bytes
/
Copy pathDirectory.Build.props
File metadata and controls
19 lines (15 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<AssemblyPrefix Condition="$(AssemblyPrefix) == ''">A.Prefix</AssemblyPrefix>
<AddPrefixToRootNamespace Condition="$(AddPrefixToRootNamespace) == ''">false</AddPrefixToRootNamespace>
<AssemblyName Condition="$(AssemblyName) == ''">$(MSBuildProjectName)</AssemblyName>
<RootNamespace>$(AssemblyName.Replace(" ", "_"))</RootNamespace>
<AssemblyName Condition="!$(AssemblyName.StartsWith($(AssemblyPrefix)))">$(AssemblyPrefix).$(AssemblyName)</AssemblyName>
<RootNamespace Condition="'$(AddPrefixToRootNamespace)' == 'true'">$(AssemblyName.Replace(" ", "_"))</RootNamespace>
</PropertyGroup>
<ItemGroup Condition="!$(MSBuildProjectName.Contains('ReferencedProject'))">
<ProjectReference Include="..\ReferencedProject\ReferencedProject.csproj" />
</ItemGroup>
</Project>