1.8.1 Precompile error

Topics: Installing Orchard
Jul 5, 2014 at 4:02 AM
Hi Folks,

I'm getting 17 Errors on build Precompiled?


"C:\Users\paulking.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Developm
ent\AllianceMercantile\Orchard.proj" (Precompiled target) (1) ->
(ValidateProjectFiles target) ->
C:\Users\paulking.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Develop
ment\AllianceMercantile\src\Orchard.Web\Modules\Orchard.Azure.MediaServices\Orc
hard.Azure.MediaServices.csproj(187,6): error : "None" element name for include
"Scripts\cloudmedia-admin-job.ts" should be "Content". [C:\Users\paulking.HUNT
ERDBA.001\Documents\Visual Studio 2012\Projects\Development\AllianceMercantile\
Orchard.proj]
C:\Users\paulking.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Develop
ment\AllianceMercantile\src\Orchard.Web\Modules\Orchard.Azure.MediaServices\Orc
hard.Azure.MediaServices.csproj(188,6): error : "None" element name for include
"Scripts\cloudmedia-admin-common.ts" should be "Content". [C:\Users\paulking.H
UNTERDBA.001\Documents\Visual Studio 2012\Projects\Development\AllianceMercanti
le\Orchard.proj]
C:\Users\paulking.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Develop
ment\AllianceMercantile\src\Orchard.Web\Modules\Orchard.Azure.MediaServices\Orc
hard.Azure.MediaServices.csproj(189,6): error : "None" element name for include
"Scripts\cloudmedia-autorefresh.ts" should be "Content". [C:\Users\paulking.HU
NTERDBA.001\Documents\Visual Studio 2012\Projects\Development\AllianceMercantil
e\Orchard.proj]
C:\Users\paulking.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Develop
ment\AllianceMercantile\src\Orchard.Web\Modules\Orchard.Azure.MediaServices\Orc
hard.Azure.MediaServices.csproj(190,6): error : "None" element name for include
"Scripts\cloudmedia-edit-asset-video.ts" should be "Content". [C:\Users\paulki
ng.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Development\AllianceMerc
antile\Orchard.proj]
C:\Users\paulking.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Develop
ment\AllianceMercantile\src\Orchard.Web\Modules\Orchard.Azure.MediaServices\Orc
hard.Azure.MediaServices.csproj(191,6): error : "None" element name for include
"Scripts\cloudmedia-edit-asset.ts" should be "Content". [C:\Users\paulking.HUN
TERDBA.001\Documents\Visual Studio 2012\Projects\Development\AllianceMercantile
\Orchard.proj]
C:\Users\paulking.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Develop
ment\AllianceMercantile\src\Orchard.Web\Modules\Orchard.Azure.MediaServices\Orc
hard.Azure.MediaServices.csproj(192,6): error : "None" element name for include
"Scripts\cloudmedia-edit-cloudvideopart-direct.ts" should be "Content". [C:\Us
ers\paulking.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Development\Al
lianceMercantile\Orchard.proj]
C:\Users\paulking.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Develop
ment\AllianceMercantile\src\Orchard.Web\Modules\Orchard.Azure.MediaServices\Orc
hard.Azure.MediaServices.csproj(193,6): error : "None" element name for include
"Scripts\cloudmedia-edit-cloudvideopart.ts" should be "Content". [C:\Users\pau
lking.HUNTERDBA.001\Documents\Visual Studio 2012\Projects\Development\AllianceM
ercantile\Orchard.proj]

Thanks
PK
Nov 24, 2014 at 2:14 PM
Getting the same errors. Any fix?
Nov 24, 2014 at 11:46 PM
Hi mate,

I had to change the property setting myself on all 17 .ts files.

Any answer to this?

Regards,
PK
Developer
Nov 25, 2014 at 3:04 AM
I believe this is fixed in 1.8.x.
Nov 25, 2014 at 1:25 PM
I was using 1.8.1 and receiving the same errors. I finally went in and just changed everything from 'None' to 'Content' and then ran into more errors. That is when I threw in the towel.
Nov 28, 2014 at 2:49 AM
Are you using VS2012?

Change just the listed files, e.g. "Scripts\cloudmedia-edit-cloudvideopart.ts".

That worked for me.

Sipke,
I download a new copy about a month ago, hoping this was fixed, same errors.

PK
Developer
Nov 28, 2014 at 3:33 AM
Did you download 1.8.1, or 1.8.x? I just tried building a fresh 1.8.x. clone and it succeeded with 0 errors and 0 warnings.
Nov 29, 2014 at 12:43 AM
I've just downloaded a new version of 1.8.1 source and same 17 errors on Precompiled.

PK
Developer
Nov 29, 2014 at 3:52 AM
Interesting. When you open the solution in VS, are you able to work with .ts files? For example, when you edit a .ts file, is the associated .js file updated? The reason I'm asking is that maybe you need TypeScript installed.
Nov 29, 2014 at 5:25 PM
Yea I was using VS 2013. And yea I haven't tried that. I will check out the .ts files on Monday. I definitely don't remember manually installing TypeScript
Jan 15, 2015 at 5:49 PM
hvaughan3 wrote:
Yea I was using VS 2013. And yea I haven't tried that. I will check out the .ts files on Monday. I definitely don't remember manually installing TypeScript
Sorry for such a late reply but, I wanted to come back and say that the .ts files are indeed associated correctly and have a little TS icon by the files. I also made sure that I had the updated (1.3) version for Visual Studio. I also tried downloading it again and doing a Repair but am still getting the same errors.

The build still says that it succeeds with these errors though.