Skip to content

Commit 2ac19e3

Browse files
committed
move solution-wide props out from .csproj
1 parent b4e59e9 commit 2ac19e3

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

CSync/CSync.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,9 @@
33
<TargetFramework>netstandard2.1</TargetFramework>
44
<AssemblyName>com.sigurd.csync</AssemblyName>
55
<Description>Configuration file syncing library for BepInEx.</Description>
6-
<RestoreAdditionalProjectSources>
7-
https://api.nuget.org/v3/index.json;
8-
https://nuget.bepinex.dev/v3/index.json;
9-
https://nuget.samboy.dev/v3/index.json
10-
</RestoreAdditionalProjectSources>
116
<RootNamespace></RootNamespace>
127
<Title>CSync</Title>
138
<Product>$(Title)</Product>
14-
<NeutralLanguage>en-GB</NeutralLanguage>
159
</PropertyGroup>
1610

1711
<PropertyGroup>

Directory.Build.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99

1010
<!-- compiler/msbuild switches -->
1111
<PropertyGroup>
12+
<RestoreAdditionalProjectSources>
13+
https://api.nuget.org/v3/index.json;
14+
https://nuget.bepinex.dev/v3/index.json;
15+
https://nuget.samboy.dev/v3/index.json
16+
</RestoreAdditionalProjectSources>
17+
<NeutralLanguage>en-GB</NeutralLanguage>
1218
<LangVersion>latest</LangVersion>
1319
<Nullable>enable</Nullable>
1420
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

ExamplePlugin/ExamplePlugin.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
<PropertyGroup>
33
<TargetFramework>netstandard2.1</TargetFramework>
44
<AssemblyName>com.sigurd.csync.example-plugin</AssemblyName>
5-
<RestoreAdditionalProjectSources>
6-
https://api.nuget.org/v3/index.json;
7-
https://nuget.bepinex.dev/v3/index.json;
8-
https://nuget.samboy.dev/v3/index.json
9-
</RestoreAdditionalProjectSources>
5+
106
<RootNamespace>CSync.ExamplePlugin</RootNamespace>
117
<Title>ExamplePlugin</Title>
128
<Product>$(Title)</Product>
13-
<NeutralLanguage>en-GB</NeutralLanguage>
149
</PropertyGroup>
1510

1611
<PropertyGroup>

0 commit comments

Comments
 (0)