-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MixIn attribute not compiling when ImplicitUsings is disabled: Fixes #36
(#37)
- Loading branch information
Showing
6 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
cls | ||
@echo **** 1.6.0 : UPDATED THE VERSION NUMBER IN THE PROJECT *AND* BATCH FILE? **** | ||
@echo **** 1.8.0 : UPDATED THE VERSION NUMBER IN THE PROJECT *AND* BATCH FILE? **** | ||
pause | ||
|
||
cls | ||
@call BuildAndTest.bat | ||
|
||
@echo ====================== | ||
|
||
set /p ShouldPublish=Publish 1.6.0 [yes]? | ||
set /p ShouldPublish=Publish 1.8.0 [yes]? | ||
@if "%ShouldPublish%" == "yes" ( | ||
@echo PUBLISHING | ||
dotnet nuget push .\Source\Lib\Morris.Moxy\bin\Release\Morris.Moxy.1.6.0.nupkg -k %MORRIS.NUGET.KEY% -s https://api.nuget.org/v3/index.json | ||
dotnet nuget push .\Source\Lib\Morris.Moxy\bin\Release\Morris.Moxy.1.8.0.nupkg -k %MORRIS.NUGET.KEY% -s https://api.nuget.org/v3/index.json | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 17 additions & 18 deletions
35
Source/Tutorials/01-MixInAMethod/MixInAMethod/MixInAMethod.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> | ||
<RootNamespace>$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> | ||
<RootNamespace>$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Remove="Mixins\SayHello.mixin" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Remove="Mixins\SayHello.mixin" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<AdditionalFiles Include="Mixins\SayHello.mixin" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\Lib\Morris.Moxy\Morris.Moxy.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<AdditionalFiles Include="Mixins\SayHello.mixin" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\Lib\Morris.Moxy\Morris.Moxy.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
{ | ||
public void SayHello() | ||
{ | ||
Console.WriteLine("Hello"); | ||
System.Console.WriteLine("Hello"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters