Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

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

Open
mak1453 opened this issue Feb 4, 2016 · 3 comments
Open

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

mak1453 opened this issue Feb 4, 2016 · 3 comments

Comments

@mak1453
Copy link

mak1453 commented Feb 4, 2016

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
Copy link
Author

mak1453 commented Feb 8, 2016

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

@23W
Copy link

23W commented Feb 8, 2016

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

@mak1453
Copy link
Author

mak1453 commented Feb 9, 2016

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants