Browse Source

Add Directory.Build.props (#1314)

* Add Directory.Build.props

* Remove unneeded props
pull/1327/head
Justin Baur 5 years ago committed by GitHub
parent
commit
d21ca83a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      Directory.Build.props
  2. 1
      bitwarden-server.sln
  3. 3
      src/Admin/Admin.csproj
  4. 3
      src/Api/Api.csproj
  5. 3
      src/Billing/Billing.csproj
  6. 2
      src/Core/Core.csproj
  7. 3
      src/Events/Events.csproj
  8. 3
      src/EventsProcessor/EventsProcessor.csproj
  9. 3
      src/Icons/Icons.csproj
  10. 3
      src/Identity/Identity.csproj
  11. 3
      src/Notifications/Notifications.csproj
  12. 2
      test/Api.Test/Api.Test.csproj
  13. 1
      test/Core.Test/Core.Test.csproj
  14. 5
      util/Migrator/Migrator.csproj
  15. 2
      util/Server/Server.csproj
  16. 2
      util/Setup/Setup.csproj

9
Directory.Build.props

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
<Project>
<PropertyGroup>
<Version>1.41.2</Version>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.$(MSBuildProjectName)</RootNamespace>
</PropertyGroup>
</Project>

1
bitwarden-server.sln

@ -22,6 +22,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution @@ -22,6 +22,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
NuGet.Config = NuGet.Config
README.md = README.md
SECURITY.md = SECURITY.md
Directory.Build.props = Directory.Build.props
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Core", "src\Core\Core.csproj", "{3973D21B-A692-4B60-9B70-3631C057423A}"

3
src/Admin/Admin.csproj

@ -1,9 +1,6 @@ @@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<Version>1.41.2</Version>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.Admin</RootNamespace>
<UserSecretsId>bitwarden-Admin</UserSecretsId>
</PropertyGroup>

3
src/Api/Api.csproj

@ -1,9 +1,6 @@ @@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<Version>1.41.2</Version>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.Api</RootNamespace>
<UserSecretsId>bitwarden-Api</UserSecretsId>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>

3
src/Billing/Billing.csproj

@ -1,9 +1,6 @@ @@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<Version>1.41.2</Version>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.Billing</RootNamespace>
<UserSecretsId>bitwarden-Billing</UserSecretsId>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
</PropertyGroup>

2
src/Core/Core.csproj

@ -1,8 +1,6 @@ @@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.Core</RootNamespace>
<GenerateUserSecretsAttribute>false</GenerateUserSecretsAttribute>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>

3
src/Events/Events.csproj

@ -1,9 +1,6 @@ @@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<Version>1.41.2</Version>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.Events</RootNamespace>
<UserSecretsId>bitwarden-Events</UserSecretsId>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
</PropertyGroup>

3
src/EventsProcessor/EventsProcessor.csproj

@ -1,9 +1,6 @@ @@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<Version>1.41.2</Version>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.EventsProcessor</RootNamespace>
<UserSecretsId>bitwarden-EventsProcessor</UserSecretsId>
</PropertyGroup>

3
src/Icons/Icons.csproj

@ -1,9 +1,6 @@ @@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<Version>1.41.2</Version>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.Icons</RootNamespace>
<UserSecretsId>bitwarden-Icons</UserSecretsId>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
</PropertyGroup>

3
src/Identity/Identity.csproj

@ -1,9 +1,6 @@ @@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<Version>1.41.2</Version>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.Identity</RootNamespace>
<UserSecretsId>bitwarden-Identity</UserSecretsId>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
</PropertyGroup>

3
src/Notifications/Notifications.csproj

@ -1,9 +1,6 @@ @@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<Version>1.41.2</Version>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.Notifications</RootNamespace>
<UserSecretsId>bitwarden-Notifications</UserSecretsId>
</PropertyGroup>

2
test/Api.Test/Api.Test.csproj

@ -1,8 +1,6 @@ @@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

1
test/Core.Test/Core.Test.csproj

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
<RootNamespace>Bit.Core.Test</RootNamespace>
</PropertyGroup>

5
util/Migrator/Migrator.csproj

@ -1,10 +1,5 @@ @@ -1,10 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Bit.Migrator</RootNamespace>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="DbScripts\**\*.sql" />
</ItemGroup>

2
util/Server/Server.csproj

@ -1,9 +1,7 @@ @@ -1,9 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
<RootNamespace>Bit.Server</RootNamespace>
</PropertyGroup>
</Project>

2
util/Setup/Setup.csproj

@ -2,9 +2,7 @@ @@ -2,9 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NoWarn>1701;1702;1705;NU1701</NoWarn>
<RootNamespace>Bit.Setup</RootNamespace>
</PropertyGroup>
<ItemGroup>

Loading…
Cancel
Save