Skip to content

Commit

Permalink
Merge pull request #4 from martinothamar/build_fix_and_globaljson
Browse files Browse the repository at this point in the history
Build fix, global.json file
  • Loading branch information
martinothamar authored Jan 24, 2021
2 parents c438ef8 + 42b61fc commit bdeec7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sdk": {
"version": "5.0.102",
"rollForward": "latestPatch"
}
}
2 changes: 1 addition & 1 deletion src/WrapperValueObject.Generator/Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void ProcessAttributeList(GeneratorExecutionContext context, AttributeListSyntax

private void GenerateAttribute(GeneratorExecutionContext context)
{
var attributeSource = EmbeddedResource.GetContent(@"resources\WrapperValueObjectAttribute.cs");
var attributeSource = EmbeddedResource.GetContent(@"resources/WrapperValueObjectAttribute.cs");
context.AddSource("WrapperValueObjectAttribute.cs", SourceText.From(attributeSource, Encoding.UTF8));
}

Expand Down

0 comments on commit bdeec7e

Please sign in to comment.