- Removed unneeded package

- Fixed build not working on dotnet sdk older than 5.0.3xx, this was done by downgrading Microsoft.CodeAnalysis.CSharp to 3.8.0
This commit is contained in:
Kwoth
2021-09-06 21:34:54 +02:00
parent 75eca393af
commit 88c005c50e
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.
- todo: Reworked from source installation (linux/windows) guide <todo link>
- todo: Added docker support, installation guide at <todo link>
- Guides
- Now instruct users to set build output to nadekobot/output instead of running from nadekobot/src/NadekoBot
- Now instruct users to set build output to nadekobot/output instead of running from nadekobot/src/NadekoBot
### Fixed
+2 -1
View File
@@ -9,10 +9,11 @@ RUN dotnet restore src/NadekoBot/
COPY . .
WORKDIR /source/src/NadekoBot
RUN dotnet --version
RUN dotnet publish -c Release -o /app --no-restore
# final stage/image
FROM mcr.microsoft.com/dotnet/aspnet:5.0
FROM mcr.microsoft.com/dotnet/runtime:5.0
ENV shard_id=0
ENV total_shards=1
WORKDIR /app
@@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.10.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" PrivateAssets="all" GeneratePathProperty="true" />
</ItemGroup>
-1
View File
@@ -53,7 +53,6 @@
<PackageReference Include="YamlDotNet" Version="11.2.1" />
<PackageReference Include="YoutubeExplode" Version="6.0.5" />
<PackageReference Include="linq2db.EntityFrameworkCore" Version="5.4.0" />
<PackageReference Include="Microsoft.Extensions.Primitives" Version="5.0.1" />
</ItemGroup>
<ItemGroup>