Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/nuget/MSTest.TestFramework-3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hkutluay committed Mar 24, 2023
2 parents a27ef5b + 718a88e commit 01f7408
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-multi-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Unit Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x

- name: Build with dotnet
run: dotnet build --configuration Release
Expand Down
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,6 @@ private static void Main(string[] args)
}

```
```csharp
private static void Main(string[] args)
{
var invoice = new UblTr.MainDoc.InvoiceType()
{
UUID = Guid.NewGuid().ToString(),
UBLVersionID ="2.1",
CustomizationID = "TR1.2",
ProfileID ="TEMELFATURA",
ID = "INV20200000000001",
CopyIndicator = false
};

XmlSerializer xmlSerializer = new XmlSerializer(typeof(UblTr.MainDoc.InvoiceType));
using TextWriter writer = new StreamWriter(@"C:\Temp\TestInvoice.xml"); //path to document
xmlSerializer.Serialize(writer, invoice, new UblTr.Serialization.UblTrNamespaces());
}

```

**Xml file content**
```xml
Expand Down
2 changes: 1 addition & 1 deletion Ubl-Tr/UblTr.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard1.3;netstandard2.1;netstandard2.0;net45;net46;netcoreapp1.0;netcoreapp1.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard1.3;netstandard2.1;netstandard2.0;net45;net46;netcoreapp1.0;netcoreapp1.1;net5.0;net6.0;net7.0</TargetFrameworks>
<RootNamespace>UblTr</RootNamespace>
<Authors>Hakan Kutluay</Authors>
<Description>Ubl-Tr v1.2.1 (UBL 2.1) .Net Classes</Description>
Expand Down
2 changes: 1 addition & 1 deletion UblTr.Tests/UblTr.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit 01f7408

Please sign in to comment.