Skip to content

Commit

Permalink
Get rid of fody
Browse files Browse the repository at this point in the history
  • Loading branch information
vieirandre committed Jul 20, 2020
1 parent b6fd03e commit cb3628f
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 46 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
.vs/
bin/
obj/
*.sln
*.xml
*.xsd
*.sln
36 changes: 0 additions & 36 deletions Attributes/ExecutionTimeMeasuredAttribute.cs

This file was deleted.

26 changes: 26 additions & 0 deletions FodyWeavers.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. -->
<xs:element name="Weavers">
<xs:complexType>
<xs:all>
<xs:element name="MethodDecorator" minOccurs="0" maxOccurs="1" type="xs:anyType" />
</xs:all>
<xs:attribute name="VerifyAssembly" type="xs:boolean">
<xs:annotation>
<xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="VerifyIgnoreCodes" type="xs:string">
<xs:annotation>
<xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="GenerateXsd" type="xs:boolean">
<xs:annotation>
<xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
1 change: 0 additions & 1 deletion Mycenae.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<ItemGroup>
<PackageReference Include="CassandraCSharpDriver" Version="3.15.0" />
<PackageReference Include="CsvHelper" Version="15.0.5" />
<PackageReference Include="MethodDecorator.Fody" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.6" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="3.1.6" />
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="3.1.6" />
Expand Down
2 changes: 0 additions & 2 deletions Tasks/EndToEnd.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Cassandra;
using Mycenae.Attributes;
using Mycenae.Models;
using NLog;
using System;
Expand All @@ -12,7 +11,6 @@ internal class EndToEnd : MigrationTask
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();

[ExecutionTimeMeasured]
internal override void Execute()
{
Logger.Info("Starting end-to-end migration...");
Expand Down
2 changes: 0 additions & 2 deletions Tasks/Extraction.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Cassandra;
using Mycenae.Attributes;
using Mycenae.Models;
using NLog;
using System;
Expand All @@ -14,7 +13,6 @@ internal class Extraction : MigrationTask
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();

[ExecutionTimeMeasured]
internal override void Execute()
{
Logger.Info("Starting extraction phase...");
Expand Down
2 changes: 0 additions & 2 deletions Tasks/Insertion.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Cassandra;
using CsvHelper;
using Mycenae.Attributes;
using Mycenae.Converters;
using Mycenae.Models;
using NLog;
Expand All @@ -17,7 +16,6 @@ internal class Insertion : MigrationTask
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();

[ExecutionTimeMeasured]
internal override void Execute()
{
Logger.Info("Starting insertion phase...");
Expand Down

0 comments on commit cb3628f

Please sign in to comment.