Skip to content

Commit bf4551e

Browse files
authored
Update csproj and ignore friend assemblies in release mode (#382)
* Update csproj and ignore friend assemblies in release mode * Update dotnet-core.yml - Bump to .NET 8 - Use Debug instead of release
1 parent 3889f9b commit bf4551e

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/dotnet-core.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v3
1818
with:
19-
dotnet-version: '6.0.x'
19+
dotnet-version: '8.0.x'
2020
- name: Install dependencies
2121
run: dotnet restore Src/couchbase-net-linq.sln
2222
- name: Build
23-
run: dotnet build --configuration Release --no-restore Src/couchbase-net-linq.sln
23+
run: dotnet build --configuration Debug --no-restore Src/couchbase-net-linq.sln
2424
- name: Test
2525
run: dotnet test --no-restore --verbosity normal Src/Couchbase.Linq.UnitTests/Couchbase.Linq.UnitTests.csproj

Src/Couchbase.Linq/Couchbase.Linq.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Title>The official Linq provider for Couchbase N1QL</Title>
66
<Authors>Couchbase, Inc.</Authors>
77
<Owners>Couchbase, Inc.</Owners>
8-
<Copyright>Copyright 2023</Copyright>
8+
<Copyright>Copyright 2024</Copyright>
99
<Description>The official Language Integrated Query (LINQ) provider for querying Couchbase Server with N1QL using the Couchbase .NET SDK 3.4 and greater.</Description>
1010
<PackageTags>couchbase;linq;n1ql;nosql;database</PackageTags>
1111

@@ -24,10 +24,12 @@
2424

2525
<Nullable>enable</Nullable>
2626
<SignAssembly>false</SignAssembly>
27-
<Version>2.0.1-beta.1</Version>
28-
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
27+
<Version>2.1.0</Version>
2928
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
3029
<PackageIcon>couchbase.png</PackageIcon>
30+
<RepositoryUrl>https://github.com/couchbaselabs/Linq2Couchbase</RepositoryUrl>
31+
<AssemblyOriginatorKeyFile>Couchbase.snk</AssemblyOriginatorKeyFile>
32+
<PackageReadmeFile>README.md</PackageReadmeFile>
3133
</PropertyGroup>
3234

3335
<ItemGroup>
@@ -45,6 +47,7 @@
4547
<Pack>True</Pack>
4648
<PackagePath></PackagePath>
4749
</None>
50+
<None Include="../../README.md" Pack="true" PackagePath="\"/>
4851
</ItemGroup>
4952

5053
</Project>

Src/Couchbase.Linq/Couchbase.snk

596 Bytes
Binary file not shown.

Src/Couchbase.Linq/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111

1212
[assembly: Guid("f9de7771-ec88-4eae-a039-2bdcfa8f7c3b")]
1313

14+
#if DEBUG
1415
// For writing tests against internal classes
1516
[assembly: InternalsVisibleTo("Couchbase.Linq.UnitTests")]
1617
[assembly: InternalsVisibleTo("Couchbase.Linq.IntegrationTests")]
1718

1819
// For using Moq against internal classes
1920
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
21+
#endif

0 commit comments

Comments
 (0)