Skip to content

Commit

Permalink
Added Support to Dapper.Contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoloureiro committed Nov 14, 2018
1 parent 5f87294 commit 8dc386b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Dapper.Crud.VSExtension/Dapper.Crud.VSExtension.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<SubType>Designer</SubType>
</None>
<None Include="Key.snk" />
<Content Include="dll\Dapper.Contrib.dll" />
<Content Include="dll\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
Expand Down Expand Up @@ -305,6 +306,9 @@
<Content Include="stylesheet.css" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Dapper.Contrib">
<Version>1.50.5</Version>
</PackageReference>
<PackageReference Include="IdeaTech.System.Web.Mvc.Extensions">
<Version>1.0.5</Version>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions Dapper.Crud.VSExtension/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("2.6.0.0")]
[assembly: AssemblyFileVersion("2.6.0.0")]
[assembly: AssemblyVersion("2.7.0.0")]
[assembly: AssemblyFileVersion("2.7.0.0")]
Binary file added Dapper.Crud.VSExtension/dll/Dapper.Contrib.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Dapper.Crud.VSExtension/frmExtension.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Dapper.Crud.VSExtension/frmExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ private IList<PropertyInfo> GetPropertyInfos(string model)

Assembly.LoadFrom(installationPath + "System.Web.Optimization.dll");
Assembly.LoadFrom(installationPath + "System.Web.Mvc.dll");
Assembly.LoadFrom(installationPath + "Dapper.Contrib.dll");

var file = Projectpath + model + ".cs";
var objectModel = ModelHelper.Generate(File.ReadAllLines(file), RawContent, model);
Expand Down
2 changes: 1 addition & 1 deletion Dapper.Crud.VSExtension/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="d7261d0b-5f95-456b-9b6a-b127d9afc8e4" Version="2.6" Language="en-US" Publisher="Thiago Loureiro" />
<Identity Id="d7261d0b-5f95-456b-9b6a-b127d9afc8e4" Version="2.7" Language="en-US" Publisher="Thiago Loureiro" />
<DisplayName>Dapper Crud Generator</DisplayName>
<Description xml:space="preserve">Generate CRUD easily with Dapper from your existing Models</Description>
<MoreInfo>https://github.com/thiagoloureiro/Dapper.Crud.Extension</MoreInfo>
Expand Down

0 comments on commit 8dc386b

Please sign in to comment.