Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Commit

Permalink
fix: dont use resourcemanager at all
Browse files Browse the repository at this point in the history
  • Loading branch information
biohazard999 committed Dec 11, 2019
1 parent 5e1533e commit e5c1e13
Show file tree
Hide file tree
Showing 13 changed files with 55 additions and 1,678 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System.Linq;
using Pretzel.Logic.Commands;
using Pretzel.Logic.Extensions;
using Pretzel.Logic.Recipes;

namespace Pretzel.Logic.Extensibility.Extensions
{
Expand Down Expand Up @@ -67,9 +68,9 @@ public void MixIn(string directory)
fileSystem.Directory.Move(directoryToMove, Path.Combine(sourceFolder, trimStart));
}

fileSystem.File.WriteAllText(Path.Combine(directory, @"Shim.cs"), Properties.RazorAzure.Shim);
fileSystem.File.WriteAllText(Path.Combine(directory, @"Shim.csproj"), Properties.RazorAzure.ShimProject);
fileSystem.File.WriteAllText(Path.Combine(directory, @"Shim.sln"), Properties.RazorAzure.ShimSolution);
Recipe.CreateFile(GetType(), fileSystem, @"Resources\RazorAzure\Shim.cs", directory, @"Shim.cs");
Recipe.CreateFile(GetType(), fileSystem, @"Resources\RazorAzure\Shim.csproj", directory, @"Shim.csproj");
Recipe.CreateFile(GetType(), fileSystem, @"Resources\RazorAzure\Shim.sln", directory, @"Shim.sln");

var currentPath = assembly.GetEntryAssemblyLocation();
var destination = Path.Combine(directory, "Pretzel.exe");
Expand Down
44 changes: 0 additions & 44 deletions src/Pretzel.Logic/Pretzel.Logic.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,50 +51,6 @@
<EmbeddedResource Include="Resources\**\*.*">
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Razor.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Razor.resx</DependentUpon>
</Compile>
<Compile Update="Properties\RazorAzure.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>RazorAzure.resx</DependentUpon>
</Compile>
<Compile Update="Properties\RazorCsProject.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>RazorCsProject.resx</DependentUpon>
</Compile>
<Compile Update="Properties\RazorWiki.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>RazorWiki.resx</DependentUpon>
</Compile>
<Compile Update="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Razor.resx">
<Generator>ResXFileCodeGenerator</Generator>
<SubType>Designer</SubType>
<LastGenOutput>Razor.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Properties\RazorWiki.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>RazorWiki.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Remove="VirtualDirectoryTransform.cs" />
<Compile Remove="Minification\AssetMinifier.cs" />
Expand Down
281 changes: 0 additions & 281 deletions src/Pretzel.Logic/Properties/Razor.Designer.cs

This file was deleted.

Loading

0 comments on commit e5c1e13

Please sign in to comment.