-
Notifications
You must be signed in to change notification settings - Fork 152
Api Namespace #2
Comments
Please move your local repo to a location with a short file path. Visual studio has a bug and doesn't support long file paths very well. |
Sent from Outlook Mobilehttps://aka.ms/blhgte On Wed, Apr 27, 2016 at 11:24 AM -0700, "asadhkhan" <[email protected]mailto:[email protected]> wrote: Hi wbreza, thanks fr the response. I went ahead and made the path to local repo short as possible: c:/.powerbi/webapp_master (solution sits in here) I am still getting the same errors , i have attached the screenshot. Any insight on this would be helpful. Thanks You are receiving this because you are subscribed to this thread. |
Looks like you are having an issue restoring Nuget packages. If so, right click on the solution and choose "Restore Nuget Packages". If you continue to get error please reply with any additional error details from your output window. |
Thank you wbreza, that did the trick. Asad |
I am trying to use the sample PowerBI Embedded project to test. I have followed the instructions on:
https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-get-started-sample/#key-flow
I have done all the prep work and have downloaded the Repo from gitHub and opened in Visual Studio 2015, and tried Build (as the instructions states, with out any updates).
When I build i get 18 Errors and 48 Warnings: I am listing info from the Output Window
Restoring NuGet packages...
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'
NuGet Package restore failed for project ProvisionSample: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters..
NuGet Package restore failed for project EmbedSample: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters..
NuGet Package restore failed for project EmbedSample: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters..
NuGet Package restore failed for project ProvisionSample: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters..
Error occurred while restoring NuGet packages: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
1>------ Build started: Project: ProvisionSample, Configuration: Debug Any CPU ------
2>------ Build started: Project: EmbedSample, Configuration: Debug Any CPU ------
2>C:\Users\akhan1\Documents\BlueMetal Working Directory\OneDrive for Business\powerbi_embedded\power-bi-embedded-integrate-report-into-web-app-master\EmbedSample\EmbedSample.csproj(265,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.1\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.22.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms, Version=2.22.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.PowerBI.Api, Version=1.0.12.16089, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Users\akhan1\Documents\BlueMetal Working Directory\OneDrive for Business\powerbi_embedded\power-bi-embedded-integrate-report-into-web-app-master\ProvisionSample\Program.cs(5,25,5,28): error CS0234: The type or namespace name 'Api' does not exist in the namespace 'Microsoft.PowerBI' (are you missing an assembly reference?)
1>C:\Users\akhan1\Documents\BlueMetal Working Directory\OneDrive for Business\powerbi_embedded\power-bi-embedded-integrate-report-into-web-app-master\ProvisionSample\Program.cs(6,25,6,28): error CS0234: The type or namespace name 'Api' does not exist in the namespace 'Microsoft.PowerBI' (are you missing an assembly reference?)
1>C:\Users\akhan1\Documents\BlueMetal Working Directory\OneDrive for Business\powerbi_embedded\power-bi-embedded-integrate-report-into-web-app-master\ProvisionSample\Program.cs(18,31,18,38): error CS0234: The type or namespace name 'Clients' does not exist in the namespace 'Microsoft.IdentityModel' (are you missing an assembly reference?)
1>C:\Users\akhan1\Documents\BlueMetal Working Directory\OneDrive for Business\powerbi_embedded\power-bi-embedded-integrate-report-into-web-app-master\ProvisionSample\Program.cs(362,27,362,36): error CS0246: The type or namespace name 'Workspace' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\akhan1\Documents\BlueMetal Working Directory\OneDrive for Business\powerbi_embedded\power-bi-embedded-integrate-report-into-web-app-master\ProvisionSample\Program.cs(378,39,378,48): error CS0246: The type or namespace name 'Workspace' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\akhan1\Documents\BlueMetal Working Directory\OneDrive for Business\powerbi_embedded\power-bi-embedded-integrate-report-into-web-app-master\ProvisionSample\Program.cs(396,27,396,33): error CS0246: The type or namespace name 'Import' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\akhan1\Documents\BlueMetal Working Directory\OneDrive for Business\powerbi_embedded\power-bi-embedded-integrate-report-into-web-app-master\ProvisionSample\Program.cs(488,27,488,41): error CS0246: The type or namespace name 'IPowerBIClient' could not be found (are you missing a using directive or an assembly reference?)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
The text was updated successfully, but these errors were encountered: