Skip to content

Commit

Permalink
Update project (#4)
Browse files Browse the repository at this point in the history
o setup nuget package build
  • Loading branch information
ivo-stoilov authored Oct 21, 2024
1 parent 109e0ce commit 455ee1f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "CI"

on:
pull_request:
branches: [master]
branches: [main]

jobs:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<IsCodedUITest>False</IsCodedUITest>
<TestProjectType>UnitTest</TestProjectType>
<JustMockVersion Condition=" '$(JustMockVersion)' == '' ">2024.3.805.336</JustMockVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand All @@ -24,10 +25,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JustMock" Version="2024.3.805.336" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.5" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.5" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="JustMock" Version="$(JustMockVersion)" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
Expand All @@ -42,10 +43,6 @@
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.8" />
</ItemGroup>

<ItemGroup>
<Reference Include="System.ComponentModel.DataAnnotations" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Telerik.JustMock.EntityFrameworkCore\Telerik.JustMock.EntityFrameworkCore.csproj" />
</ItemGroup>
Expand Down
11 changes: 6 additions & 5 deletions Telerik.JustMock.EntityFrameworkCore.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
<id>JustMock.EntityFrameworkCore</id>
<title>JustMock.EntityFrameworkCore</title>
<description>Mock DbSet and DbContext mocking amenities for JustMock Lite.</description>
<version>1.0.0</version>
<version>$Version$</version>

<iconUrl>http://www.telerik.com/sfimages/default-source/logos/jm_32x32.png?sfvrsn=2</iconUrl>
<tags>justmock efcore entityframeworkcore</tags>


<authors>Progress Software Corporation</authors>
<owners>Progress Software Corporation</owners>
<copyright>Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.</copyright>
<copyright>$Copyright$</copyright>

<projectUrl>https://github.com/telerik/Telerik.JustMock.EntityFrameworkCore</projectUrl>

Expand All @@ -35,7 +34,9 @@
<dependency id="Microsoft.EntityFrameworkCore" version="8.0.8" />
</group>

<dependency id="JustMock" version="2024.3.805.336" />
<group>
<dependency id="JustMock" version="$JustMockVersion$" />
</group>

</dependencies>

Expand All @@ -48,7 +49,7 @@

<file src="Telerik.JustMock.EntityFrameworkCore\bin\Release\net7.0\Telerik.JustMock.EntityFrameworkCore.dll" target="lib/net7.0"/>
<file src="Telerik.JustMock.EntityFrameworkCore\bin\Release\net7.0\Telerik.JustMock.EntityFrameworkCore.xml" target="lib/net7.0"/>

<file src="Telerik.JustMock.EntityFrameworkCore\bin\Release\net8.0\Telerik.JustMock.EntityFrameworkCore.dll" target="lib/net8.0"/>
<file src="Telerik.JustMock.EntityFrameworkCore\bin\Release\net8.0\Telerik.JustMock.EntityFrameworkCore.xml" target="lib/net8.0"/>

Expand Down
20 changes: 13 additions & 7 deletions Telerik.JustMock.EntityFrameworkCore/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("860ffadf-749b-4ae6-9ffa-efb35aa1da12")]
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Telerik.JustMock.EntityFrameworkCore")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Telerik.JustMock.EntityFrameworkCore")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("2024.3.805.336")]
[assembly: AssemblyFileVersion("2024.3.805.336")]
[assembly: InternalsVisibleTo("Telerik.JustMock")]
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<ProjectGuid>{222C27C4-A982-49BC-AB5C-872EF3F313E2}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<JustMockVersion Condition=" '$(JustMockVersion)' == '' ">2024.3.805.336</JustMockVersion>

</PropertyGroup>

Expand All @@ -24,7 +25,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JustMock" Version="2024.3.805.336" />
<PackageReference Include="JustMock" Version="$(JustMockVersion)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
Expand Down

0 comments on commit 455ee1f

Please sign in to comment.