coapp / coapp.powershell

ClrPlus Signing
52 stars 43 forks source link

Invalid URI: The format of the URI could not be determined. #122

Open mak1453 opened 8 years ago

mak1453 commented 8 years ago

Hi,

I am using CoApp Developer Tools to package C++ libraries. Power Shell 3 is already installed on the system. When I run : Write-NuGetPackage .\cpptest.autopkg The error I am getting : Invalid URI: The format of the URI could not be determined.

Can some one please help me with this? I have been trying tackle down this problem but no luck so far. I tried it with different versions of Nuget (2.5, 2.8, 3.3, etc). Here is the content of the .autopkg file:

nuget {
    nuspec {
        id = cppTestLIB;
        version : 1.0.0.0;
        title: C++ TEST LIB;
        authors: {Some body};
        owners: {Some body;
        licenseUrl: "None";
        projectUrl: "https://casablanca.codeplex.com/";
        iconUrl: "https://download-codeplex.sec.s-msft.com/Download?ProjectName=casablanca&DownloadId=630102&Build=20425";
        requireLicenseAcceptance:false;
        summary: This is a test project ;
        releaseNotes: "Release of C++ libraries.";
        copyright: Copyright 2016;
        tags: { TEST, native, CoApp };
    }
    files {

        [x64,v120,release] {
            bin: { Release\*.dll };
        }

    }

}
mak1453 commented 8 years ago

Can someone please help me? At least guiding me into the right direction? I really cannot find much information with Googling.

23W commented 8 years ago

Mistake in "owners" filed. Multiline text block is opened but not closed. Where is "}" symbol ? URL in licenseUrl is invalid also.

mak1453 commented 8 years ago

Thank you for the reply. There were some typos in my post, but I double checked the config file and added the missing items. It is now working. I never thought the licence URL was that important.Thank you very much, you saved my day!