This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update-Package FluentValidation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Web; | |
using System.Configuration; | |
namespace XFrameOptionsHttpModule { | |
public class XFrameOptionsHeaderModule: IHttpModule { | |
private HttpApplication context; | |
private const string XFrameOptionsHeader = "X-Frame-Options"; | |
private const string XFrameOptionsSameOrigin = "SAMEORIGIN"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (1605): The primary reference "\bin\Library.dll" could not be resolved because it has an indirect dependency on the assembly "NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". | |
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (1605): The primary reference "\bin\Library.dll" could not be resolved because it has an indirect dependency on the framework assembly "System.IO.Compression, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "\bin\Library.dll" or retarget your application to a framework version which contains "System.IO.Compression, Version=4.0.0.0, Culture=neutral, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$From = $env:username + "@domain.com" | |
$TFSServer = "http://tfsServer:8080/tfs/Collection" | |
$body = "" | |
$Subject = "IMPORTANT: QA DEPLOYMENT for Your Site Announcement COMPLETE" | |
$recipients = $From | |
#Prevent e-mails from going out before you are ready | |
#$recipients = "Deployment QA Distribution List" | |
$cc = "" | |
$bcc = $From | |
$Pbis = "10899", "10950" #enter PBI's here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# BackupAndCopy.psm1 | |
# | |
function BackupAndCopy | |
{ | |
[cmdletbinding(SupportsShouldProcess=$True)] | |
param([string]$source, [string]$destination, [string]$backup) | |
$backupPath = $("$backup\") + $(Split-Path $destination -Leaf) + "_"+ $(get-date -Format MM-dd-yyy_HH-mm-ss) + "\" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RunSettings> | |
<ChutzpahAdapterSettings> | |
<EnabledTracing>true</EnabledTracing> | |
</ChutzpahAdapterSettings> | |
</RunSettings> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TF215097: An error occurred while initializing a build for build definition Build.Test: | |
Exception Message: TF30063: You are not authorized to access Microsoft-IIS/8.5. (type TeamFoundationServerUnauthorizedException) | |
Exception Stack Trace: | |
at Microsoft.TeamFoundation.VersionControl.Client.UploadDownload.EndGetDownloadStream(IAsyncResult asyncResult) | |
at Microsoft.TeamFoundation.VersionControl.Client.UploadDownload.RetryDownloadStream.AcquireStreamAndSeek(Int64 offset) | |
at Microsoft.TeamFoundation.VersionControl.Client.UploadDownload.RetryDownloadStream.Read(Byte[] buffer, Int32 offset, Int32 count) | |
at System.IO.StreamReader.ReadBuffer() | |
at System.IO.StreamReader.ReadToEnd() | |
at Microsoft.TeamFoundation.Build.Client.ProcessTemplate.Download(String sourceGetVersion) | |
at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.PrepareRequestForBuild(WorkflowManagerActivity activity, IBuildDetail build, WorkflowRequest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RunSettings> | |
<ChutzpahAdapterSettings> | |
<EnabledTracing>True</EnabledTracing> | |
</ChutzpahAdapterSettings> | |
</RunSettings> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Web; | |
using System.Configuration; | |
namespace XFrameOptionsHttpModule | |
{ | |
public class XFrameOptionsHeaderModule : IHttpModule | |
{ | |
private HttpApplication context; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file *.jpg > out.txt |