Rank: Advanced Member
Groups: Guest
Joined: 3/8/2018(UTC) Posts: 45
Thanks: 21 times
|
Hi team,
I have an error when I install my windows application in a desktop computer after upgrading the GM9 last version. I have the licence up to date till February 2019.
I have no problems in development, but when I try run the application on a desktop computer where I had apps working fine with GM I get now the message:
"No license Key found".
I have installed the VC_redist.X64 in the desktop computer, and my app is 64bit. I have intalled the VC_redistX86 too because of I have 32bit apps.
Please can you help me. Should I change anything in the development system...??
Thanks in advance.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
|
Best regards, Fedor Skvortsov
|
1 user thanked Fedor for this useful post.
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/8/2018(UTC) Posts: 45
Thanks: 21 times
|
Originally Posted by: Fedor Hi Fedor, I have followed all the steps described in the "Using Licenses.lics Files. I have done too: Resolving a Problem with Licenses.licx File in 64-bit Application Visual Studio 2010 uses a 32-bit version of the license compiler, even though a project is configured as 64-bit. To work around this issue open your Visual Studio project file in a text editor and add the following line to all of your 64-bit configurations:Code:<LCToolPath>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64</LCToolPath>
Replacing in my case the Path for the correct for me: Code:<LCToolPath>C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.1 Tools\x64</LCToolPath>
I have tried to uninstall and install again the VC_Redist (64 and 32 bit). In my development machine all works fine. But not in the others desktop machines. I´m really lost.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 9/19/2006(UTC) Posts: 505
Was thanked: 41 time(s) in 41 post(s)
|
Hi,
I believe there is no sense to reinstall VC_Redist. If you get an exception about license key - it works fine.
Could you create a simple console application to reproduce the problem and post it here?
|
Best regards, Eugene Kosmin The Aurigma Development Team
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/8/2018(UTC) Posts: 45
Thanks: 21 times
|
Originally Posted by: Eugene Kosmin Hi,
I believe there is no sense to reinstall VC_Redist. If you get an exception about license key - it works fine.
Could you create a simple console application to reproduce the problem and post it here?
Ok, I have tested the error with a console app. Here you can see the code: Code:using Aurigma.GraphicsMill;
using Aurigma.GraphicsMill.Codecs;
namespace ConsoleExample
{
class Program
{
static void Main(string[] args)
{
var borderColor = RgbColor.Blue;
int borderWidth = 20;
using (var reader = ImageReader.Create(@"W:\test.png"))
using (var generator = new ImageGenerator(reader.Width + borderWidth * 2,
reader.Height + borderWidth * 2, reader.PixelFormat, borderColor))
using (var blender = new Aurigma.GraphicsMill.Transforms.Blender())
using (var writer = ImageWriter.Create(@"W:\out.png"))
{
blender.TopImage = reader;
blender.X = borderWidth;
blender.Y = borderWidth;
(generator + blender + writer).Run();
}
}
}
}
Attached the error result:
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 9/19/2006(UTC) Posts: 505
Was thanked: 41 time(s) in 41 post(s)
|
Could you also share the .csproj file? This one is mine, and it works fine. Code:<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6B45CE69-D0DF-443E-84FF-A6DFAA29F91B}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>ConsoleApp20</RootNamespace>
<AssemblyName>ConsoleApp20</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<LCToolPath>C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools\x64</LCToolPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>x64</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Aurigma.GraphicsMill, Version=9.3.37.0, Culture=neutral, PublicKeyToken=f4bbbf243f314012, processorArchitecture=AMD64">
<HintPath>packages\Aurigma.GraphicsMill.Core.x64.9.3.37\lib\net40\Aurigma.GraphicsMill.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Licenses.licx" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
|
Best regards, Eugene Kosmin The Aurigma Development Team
|
1 user thanked Eugene Kosmin for this useful post.
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/8/2018(UTC) Posts: 45
Thanks: 21 times
|
This is the .csproj Code:<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{43EC1713-E55F-467F-9266-009542106061}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>ConsoleExample</RootNamespace>
<AssemblyName>ConsoleExample</AssemblyName>
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject>ConsoleExample.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="Aurigma.GraphicsMill, Version=9.3.33.0, Culture=neutral, PublicKeyToken=f4bbbf243f314012, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\Aurigma\Graphics Mill 9 SDK\.Net 4.0\Binaries_x86\Aurigma.GraphicsMill.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 9/19/2006(UTC) Posts: 505
Was thanked: 41 time(s) in 41 post(s)
|
I don’t see the following in your file. Code:<EmbeddedResource Include="Licenses.licx" />
This is an essential thing. It looks like you didn’t add the Licenses.licx text file. |
Best regards, Eugene Kosmin The Aurigma Development Team
|
1 user thanked Eugene Kosmin for this useful post.
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/8/2018(UTC) Posts: 45
Thanks: 21 times
|
Originally Posted by: Eugene Kosmin I don’t see the following in your file. Code:<EmbeddedResource Include="Licenses.licx" />
This is an essential thing. It looks like you didn’t add the Licenses.licx text file. Hi Eugene, I have solved the problem. You are right, my project doesn´t include the .licx file. The error was that it does appear in the project but I didn´t right click to select as "included" file. After that, clean and recompile project and all works fine. Thanks so much.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.