Quantcast
Channel: MSBuild Extension Pack
Viewing all 1211 articles
Browse latest View live

Created Unassigned: Allow setting execution policy for PowershellTaskFactory [12997]

$
0
0
It would be nice to be able to set the execution policy for scripts run inside the PowershellTaskFactory.

cf. http://stackoverflow.com/questions/10260597/invoking-powershell-script-with-arguments-from-c-sharp

Commented Unassigned: Allow setting execution policy for PowershellTaskFactory [12997]

$
0
0
It would be nice to be able to set the execution policy for scripts run inside the PowershellTaskFactory.

cf. http://stackoverflow.com/questions/10260597/invoking-powershell-script-with-arguments-from-c-sharp
Comments: ** Comment from web user: flcdrg **

Never mind.. I thought this was problematic, but it turns out I was using Write-Host in my script which was the cause of an error rather than being able to set the execution policy.

Closed Unassigned: Allow setting execution policy for PowershellTaskFactory [12997]

$
0
0
It would be nice to be able to set the execution policy for scripts run inside the PowershellTaskFactory.

cf. http://stackoverflow.com/questions/10260597/invoking-powershell-script-with-arguments-from-c-sharp

New Post: Exception using IIS7AppPool to stop pool in IIS8.5 (Windows Server 2012)

$
0
0
Hi there,

we have several quality environments being deployed with the same MSBUILD script normally to Windows Server 2008/Windows7 and IIS 7.5.

Now we have a new target environment that runs IIS 8.5 in Windows Server 2012.
At a given time, we need to stop some IIS pool before publishing an application which is throwing the following exception:
"COMException: Retrieving the COM class factory for remote component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} from machine MyMachineName failed due to the following error: 800706ba MyMachineName."

I've tried installing IIS server roles (Management scripts and tools, Management Service, etc.) as suggested in a previous post but with the same result.

Is the IIS7AppPool task really supported in IIS8 ?

Thanks in advance!

Best regards,
Ricardo Guerra

New Post: Exception using IIS7AppPool to stop pool in IIS8.5 (Windows Server 2012)

$
0
0
Please log all discussions as issues on GitHub. This project has moved.

I'll try take a look at IIS8.5 soon.

New Post: MSBuild.ExtensionPack.StyleCop.dll vs StyleCop.dll

$
0
0
Please log all discussions as issues on GitHub. This project has moved.

They are not in sync. I've not even looked at that task.

New Post: DO NOT DISCUSS HERE - WE HAVE MOVED

$
0
0
Please log all discussions as issues on GitHub. This project has moved.

New Post: Iis7Website and Iis7AppPool with MS Web Deploy Package

$
0
0
Please log all discussions as issues on GitHub. This project has moved.

probably best if you email me and we can discuss.... Thansk! Mike

New Post: IIS7 application authentication

New Post: Exception using IIS7AppPool to stop pool in IIS8.5 (Windows Server 2012)

New Post: DO NOT DISCUSS HERE - WE HAVE MOVED

Updated Wiki: Home

Updated Wiki: Documentation

Updated Wiki: Documentation

Updated Release: vNext

$
0
0

This project is now maintained on GitHub

Placeholder. No firm date, sometime in H1 - 14.

Created Unassigned: DO NOT LOG ISSUES HERE [13044]

$
0
0
This project is now maintained on [url:GitHub|http://mikefourie.github.io/MSBuildExtensionPack/]

New Post: Multi environment management with MSBuild using template files with metadata

$
0
0
Make sense yes. will look at for vnext

Please log all discussions as issues on GitHub. This project has moved

New Post: Multi environment management with MSBuild using template files with metadata

$
0
0
I think you are going to be better of using the Detokenise task.

Keep a version of your tokenised config files. Copy them somewhere. Parse them using detokenise.

New Post: Read through an SQL recordset

$
0
0
Each row is an item, each item has the columns as metadata. Below is a longer example where I do a select, then iterate of each item, then assign one of the items to a property.
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\ExtensionPack\4.0\MSBuild.ExtensionPack.tasks"/>
    <Target Name="Default">

    <!-- Execute SQL and return the result in an Item. Each column is available as metadata --> 
    <MSBuild.ExtensionPack.SqlServer.SqlExecute TaskAction="ExecuteReader" Sql="SELECT TOP 10 [name], [category_id] FROM [msdb].[dbo].[syscategories]" ConnectionString="Data Source=.;Initial Catalog=;Integrated Security=True"> 
        <Output ItemName="RResult" TaskParameter="ReaderResult"/> 
    </MSBuild.ExtensionPack.SqlServer.SqlExecute>
    <Message Text="%(RResult.Identity) - %(RResult.category_id)"/>
    
    <PropertyGroup>
        <MyPropForLogShipping Condition="%(RResult.Identity) == 'Log Shipping'">%(RResult.category_id)</MyPropForLogShipping>
    </PropertyGroup>
    
    <Message Text="MyPropForLogShipping == $(MyPropForLogShipping)" Importance="High"/>
    </Target>
</Project>
This project is now maintained on Github. Please log an issue there to discuss further. Thanks!

New Post: Read through an SQL recordset

$
0
0

Thanks Mike, that’s a perfect example. Really really appreciate it. Again thanks.


Regards

Nicholas Tullett | Consultant

Insurance Information Services | CGI

150 Commerce Valley Dr. West, Markham, Ontario, L3T 7Z3

T: 905-762-2800 ext. 1215107[email removed]

CGI IIS

Insurance Information Services

https://cgi-iis.com

CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to CGI Group Inc. and its affiliates may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for delivery of this message to such person), or you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message to anyone else. In such case, you should destroy this message and are asked to notify the sender by reply e-mail.

Viewing all 1211 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>